package org.lease.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.lease.mapper.ApartmentFacilityMapper;
import org.lease.model.entity.ApartmentFacility;
import org.lease.model.entity.FacilityInfo;
import org.lease.service.ApartmentFacilityService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApartmentFacilityServiceImpl extends ServiceImpl<ApartmentFacilityMapper, ApartmentFacility> implements ApartmentFacilityService {
    @Override
    public List<FacilityInfo> listWithFacilityInfo(Long apartmentId) {
        return baseMapper.listWithFacilityInfo(apartmentId);
    }
}
